package day04;

public class homework6 {

	public static void main(String[] args) {
		for(int i=0,j=0,k=0;i<10&&j<4&&k<10;j+=2){
		System.out.println(i++);
		System.out.println(++k+i);
		}
	}

}
